package com.campus.commons.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 技术表（由教员发布的一些最新技术）
 * </p>
 *
 * @author Rin
 * @since 2020-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Skill对象", description="技术表（由教员发布的一些最新技术）")
public class Skill implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "教员Id")
    @TableField("teacherId")
    private Integer teacherid;

    @ApiModelProperty(value = "技术标题")
    private String title;

    @ApiModelProperty(value = "技术内容")
    private String content;

    @ApiModelProperty(value = "技术类型")
    @TableField("tagId")
    private Integer tagid;

    @ApiModelProperty(value = "技术图片")
    private String image;

    @ApiModelProperty(value = "技术阅览数")
    @TableField("lookAmount")
    private Integer lookamount;

    @ApiModelProperty(value = "点赞数")
    @TableField("likeAmount")
    private Integer likeamount;

    @ApiModelProperty(value = "点赞名单userId")
    private String users;

    @ApiModelProperty(value = "技术发布时间")
    @TableField("createTime")
    private Date createtime;


}
